package com.tzbank.face.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 配置对象
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_config")
@Table(appliesTo = "mb_config", comment = "配置表")
public class Config extends BaseModel implements Serializable {

	private static final long serialVersionUID = 8759596465831839829L;

	/**
	 * 配置ID
	 */
	@ApiModelProperty(value = "配置ID")
	@Column(name = "config_id", columnDefinition = "varchar(50)  NOT NULL COMMENT '配置ID'")
	private String configId;

	/**
	 * 配置编号
	 */
	@ApiModelProperty(value = "配置编号")
	@Column(name = "config_code", columnDefinition = "varchar(50)  NOT NULL COMMENT '配置编号'")
	private String configCode;

	/**
	 * 配置名称
	 */
	@ApiModelProperty(value = "配置名称")
	@Column(name = "config_name", columnDefinition = "varchar(50)  NOT NULL COMMENT '配置名称'")
	private String configName;

	/**
	 * 配置值
	 */
	@ApiModelProperty(value = "配置值")
	@Column(name = "configValue", columnDefinition = "varchar(50)  NOT NULL COMMENT '配置值'")
	private String configValue;

	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	@Column(name = "status", columnDefinition = "varchar(1)  NOT NULL DEFAULT '1' COMMENT '状态'")
	private String status;
	
	/**
	 * 删除标识
	 */
	@ApiModelProperty(value = "删除标识")
	@Column(name = "del_flag", columnDefinition = "varchar(1)  NOT NULL DEFAULT '0' COMMENT '删除标识'")
	private String delFlag;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@Column(name = "remark", columnDefinition = "varchar(200)  DEFAULT NULL COMMENT '备注'")
	private String remark;

}